package com.gxa.pingan.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 给导出准备的Vo对象
 * @author YXQ
 * @date 2021/10/27 8:36
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class OrderVo implements Serializable {
    @ExcelProperty(value = "编号", index = 0)
    private Long id;
    @ExcelProperty(value = "订单编号", index = 1)
    private String orderNum;
    @ExcelProperty(value = "订单类型", index = 2)
    private String type;
    @ExcelProperty(value = "姓名", index = 3)
    private String name;
    @ExcelProperty(value = "城市", index = 4)
    private String city;
    @ExcelProperty(value = "订单来源", index = 5)
    private String orderSource;
    @ExcelProperty(value = "手机号", index = 6)
    private String phone;
    @ExcelProperty(value = "车牌号", index = 7)
    private String carNum;
    @ExcelProperty(value = "接车司机", index = 8)
    private String driverName;
    @ExcelProperty(value = "是否还车", index = 9)
    private Boolean isReturnCar;
    @ExcelProperty(value = "还车司机", index = 10)
    private String retDriver;
    @ExcelProperty(value = "订单状态", index = 11)
    private String orderType;
    @ExcelProperty(value = "下单时间", index = 12)
    private Date payTime;
    @ExcelProperty(value = "付款状态", index = 13)
    private String payType;
    /**
     * orderOther表的字段
     */
    @ExcelProperty(value = "修理部分", index = 14)
    private String repairParts;
    /**
     * orderPay表的字段
     */
    @ExcelProperty(value = "用户实付金额", index = 15)
    private Long amountPayByCustomer;
}
